#if !defined(AFX_CITYCONFIGDLG_H__56675A1A_FE81_4444_9A16_6B032E65AC16__INCLUDED_)
#define AFX_CITYCONFIGDLG_H__56675A1A_FE81_4444_9A16_6B032E65AC16__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// CityConfigDlg.h : header file
//

#include "San9PKHardDlg.h"

/////////////////////////////////////////////////////////////////////////////
// CCityConfigDlg dialog

class CCityConfigDlg : public CDialog
{
// Construction
public:
	BOOL SaveCurCityInfo();
	void LoadCurCityInfo();
	CCityConfigDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CCityConfigDlg)
	enum { IDD = IDD_CITY_CONFIG };
	CListBox	m_ctrlCityList;
	int		m_iCityKiller;
	BOOL	m_bCityShootFar;
	BOOL	m_bCityStone;
	BOOL	m_bCityTrader;
	UINT	m_uMaxDurability;
	UINT	m_uMaxHarvest;
	UINT	m_uMaxIncome;
	UINT	m_uMaxPeopleHeart;
	UINT	m_uMaxSoldier;
	BOOL	m_bCityConfigAutoLoad;
	UINT	m_uCityRelation1;
	UINT	m_uCityRelation2;
	UINT	m_uCityRelation3;
	UINT	m_uCityRelation4;
	UINT	m_uCityRelation5;
	UINT	m_uCityRelation6;
	UINT	m_uCityRelation7;
	UINT	m_uCityRelation8;
	UINT	m_uAttackCityMaxDay;
	//}}AFX_DATA

	CITY_CONFIG_INFO *m_pCityConfigInfo;
	CSan9PKHardDlg *m_pMainDlg;
	BYTE m_btCityNum, m_btCityIndex;

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CCityConfigDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CCityConfigDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSelchangeCityList();
	virtual void OnOK();
	afx_msg void OnSaveCityConfig();
	afx_msg void OnLoadCityConfig();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_CITYCONFIGDLG_H__56675A1A_FE81_4444_9A16_6B032E65AC16__INCLUDED_)
